﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HippoScript
{
    public class CollectionsExtension
    {

        public static Dictionary<String, object> Append(Dictionary<String, object> dic, Dictionary<String, object> dicAdd)
        {
            foreach (KeyValuePair<String, object> entry in dicAdd)
            {
                dic.Add(entry.Key, entry.Value);
            }
            return dic;
        }
        public static List<string> Append(List<string> lis, List<string> lisAdd)
        {
            foreach (string entry in lisAdd)
            {
                lis.Add(entry);
            }
            return lis;
        }
    }
}
